<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>index</title>
	<hdjs/>
</head>
<body>
	<div class="wrap">
		<div class="menu_list">
			<ul>
				<li> <a href="{|U:'index'}" class="action">文章列表</a></li>
				<li> <a href="{|U:'add'}">文章添加</a></li>
			</ul>
		</div>
		<table class="table2 hd-form">
			<thead>
				<tr>
					<td>CID</td>
					<td>标题</td>
					<td>栏目</td>
					<td>发表时间</td>
					<td>操作</td>
				</tr>
			</thead>
			<tbody>
				<list from='$data' name='$c'>
					<tr>
						<td>{$c.cid}</td>
						<td>{$c.title}</td>
						<td>{$c.catname}</td>
						<td>{$c.addtime|date:'Y-m-d',@@}</td>
						<td>
							<a href="{|U:'edit',array('aid'=>$c['aid'])}">编辑</a>|
							<a href="{|U:'delete',array('aid'=>$c['aid'])}">删除</a>|
							<a href="">查看</a>

						</td>
					</tr>
				</list>
			</tbody>
		</table>		
		<div class="page1">
			{$page}
		</div>
	</div>
</body>
</html>